var vm = new Vue({
    el: ".qa-submit-form",
    data:{
        host: host,
        title: '',
        tag: '',
        // q_content: '',
    },
    methods:{
        on_submit: function () {
            var q_content = CKEDITOR.instances.q_con.getData();
            axios.post(this.host + '/qa-onsubmit/', {
                    responseType: 'application/json',
                    q_content: q_content,
                    title: this.title,
                    tag: this.tag,
                })
        }
    }
});
